package com.example.demo.core.storage;

import com.example.demo.dal.model.TbRule;
import java.util.List;

/**
 * @author zuitu@foxmail.com
 * @date 2020/11/25
 */
interface IRuleStorage {
    List<TbRule> getRuleList();
    Long addRoot(String name, String val);
    TbRule getParent(Long pid);
    Long addChild(Long pid, String name, String val, String op);
}
